home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / etc / acpi / resume.d / 50-framebuffer-enable.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2009-03-27  |  152 b   |  10 lines

  1. #!/bin/sh
  2.  
  3. # And turn the framebuffer back on
  4. for x in /sys/class/graphics/*; do
  5.     if [ -f $x/state ]; then
  6.         echo -n 0 >$x/state;
  7.     fi
  8. done
  9.  
  10.